//
//  main.m
//  day13
//
//  Created by 许文娟 on 2024/3/14.
//

#import <Foundation/Foundation.h>
#import "Gun.h"

int main(int argc, const char * argv[]) {
    //创建枪
    Gun *gun = [Gun new];
    //设置子弹
//    gun -> _bullent = 100;
    [gun addBullent:100];
//    射击
    [gun shoot];
    NSLog(@"bullent = %i", [gun getBullent]);
    return 0;
}
